package my.design.iterator;

/**
 * @author zp
 * @version 1.0
 * @description: 组织（需要被迭代的对象）
 * @date 2022/10/24 20:33
 */

public class Department {

    private String name;
    private String desc;

    public Department(String name, String desc) {
        super();
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


}
